Skip to content

Commit

Permalink
Move CI to Azure (#438)
Browse files Browse the repository at this point in the history
* Run github actions on mdolab docker images

* Trying to fix permission error

* Try sourcing mdolabuser's bashrc

* Need to go back to being root

* Use old checkout action

* Even older checkout action?

* Try giving user permission to folder that checkout wants to use

* Run umask not as sudo?

* I give up

* Switch to azure

* Do pyPI releases through Azure too

* Move tests outside of installed package

* Update test_real.sh so that it actually runs tests

* Bump minor version
  • Loading branch information
A-CGray committed Jul 19, 2024
1 parent 9c123a3 commit 410b523
Show file tree
Hide file tree
Showing 135 changed files with 40 additions and 187 deletions.
32 changes: 32 additions & 0 deletions .github/azure-pipelines.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
trigger:
branches:
include:
- main
tags:
include:
- v*.*.*

pr:
- main

resources:
repositories:
- repository: azure_template
type: github
name: mdolab/.github
endpoint: mdolab

stages:
- template: azure/azure_template.yaml@azure_template
parameters:
REPO_NAME: OpenAeroStruct
COVERAGE: true

- stage:
dependsOn:
- Test_Real
- Style
displayName: PyPI
condition: and(succeeded(), contains(variables['build.sourceBranch'], 'tags'))
jobs:
- template: azure/azure_pypi.yaml@azure_template
3 changes: 3 additions & 0 deletions .github/build_real.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
set -e
pip install .[testing,mphys]
4 changes: 4 additions & 0 deletions .github/test_real.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -e

testflo -n 2 -v . --coverage --coverpkg openaerostruct
186 changes: 0 additions & 186 deletions .github/workflows/oas.yml

This file was deleted.

2 changes: 1 addition & 1 deletion openaerostruct/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.7.3"
__version__ = "2.8.0"
Empty file.
Empty file removed openaerostruct/tests/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 410b523

Please sign in to comment.