Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
544 commits
Select commit Hold shift + click to select a range
f185966
initial version of the pdffit interface. Works for profile calculations.
rozyczko Jan 5, 2023
f3919b6
Added diffpy module dependencies
rozyczko Jan 5, 2023
5545bf0
point to released version of core and cryst
rozyczko Jan 13, 2023
0cebec1
Add fitting example, fixed minor issues
rozyczko Jan 16, 2023
d7fb03c
initial version, not much here yet
rozyczko Jan 17, 2023
2402a1a
move bindings update from sample to job
rozyczko Jan 18, 2023
763d035
return ndarray rather that xarray from fitting
rozyczko Jan 19, 2023
b8f458e
Fixes for serialization of the job object
rozyczko Jan 23, 2023
1e48fd7
set default linked experiment for serialized no-exp loaded cases
rozyczko Jan 24, 2023
95b0b83
Invoke bindings change properly
rozyczko Jan 27, 2023
fdeabe8
Added notebooks for profile calc and fitting
rozyczko Feb 10, 2023
89cd7be
Merge branch 'pdf' into release-0.8.5
rozyczko Feb 13, 2023
a922782
Bump cfml from 0.0.1 to 0.0.3 (#67)
dependabot[bot] Feb 13, 2023
d8595d6
Try getting pdffit2 from local pypi
rozyczko Feb 17, 2023
3bbe934
attempt at fixing dependencies
rozyczko Feb 17, 2023
9f04495
Updates from job_based branch.
rozyczko Feb 20, 2023
4385696
make pdffit2 dependency optional, as gsas/cfml
rozyczko Feb 20, 2023
bf1a9d5
Updated/fixed pdf interface, now conforming to the job based runs.
rozyczko Feb 21, 2023
6634a01
Silence the diffpy backend STDOUT
rozyczko Feb 21, 2023
6fc883b
branch update
rozyczko Feb 21, 2023
970221b
Updated notebooks
rozyczko Feb 23, 2023
64e8186
Update py3dmol requirement from ^1.7.0 to ^2.0.1 (#69)
dependabot[bot] Feb 24, 2023
da1dfc3
dep update
rozyczko Feb 24, 2023
3bec9ba
added delta1, delta2 parameters
rozyczko Feb 26, 2023
c9b346e
Prettified the notebook and the script
rozyczko Feb 27, 2023
7d93858
Rename CrysPyV2 -> CrysPy
rozyczko Feb 27, 2023
5dbd4dc
Update pyproject.toml
wardsimon Mar 1, 2023
51071b9
phase without exp - sim range param update causes errors
rozyczko Mar 2, 2023
974c013
Merge branch 'release-0.8.5' of https://github.com/easyScience/easyDi…
rozyczko Mar 2, 2023
93ce43a
debug weird update issue
rozyczko Mar 7, 2023
445dc05
Workaround for resized coords
rozyczko Mar 8, 2023
fd617fd
Add pdffit dependency so pip install doesn't complain
rozyczko Mar 9, 2023
a76bf85
update requirements.txt
rozyczko Mar 9, 2023
afc8e6f
Minor updates. Moved xarray checks to app.
rozyczko Mar 13, 2023
48a5d7a
Make sure interface bindings are properly set on job instantiation
rozyczko Mar 13, 2023
9788ecb
pdf changes after Celine's comments
rozyczko Mar 14, 2023
b4cc135
add dependency on pycifrw, required by pdffit2
rozyczko Mar 14, 2023
70bbebb
delta1 and delta2 have units
rozyczko Mar 15, 2023
f2d0b02
parameter name should be prettyfied
rozyczko Mar 15, 2023
d882046
check if setting pip config helps with module installation
rozyczko Mar 15, 2023
3932e75
Modify wavelength to correspond to the gr input file.
rozyczko Mar 16, 2023
4ef2bd5
notebook and example script updates
rozyczko Mar 16, 2023
7b43ad6
Added "spdiameter" parameter, as per GSASII examples
rozyczko Mar 16, 2023
192c89a
added spdiameter parameter to the notebook examples
rozyczko Mar 16, 2023
31bd259
update initial values for spdiameter and update the examples
rozyczko Mar 16, 2023
3fbf825
don't update atoms without adp
rozyczko Mar 17, 2023
41eec31
Merge pull request #74 from easyScience/additional_pypi_org
rozyczko Mar 20, 2023
f76c08b
workaround for CFML failures
rozyczko Mar 20, 2023
81a28a5
Bumped release version
rozyczko Mar 21, 2023
5cbc4dd
Merge branch 'develop' into release-0.8.5
rozyczko Mar 23, 2023
d756369
Updated notebooks and added missed method in CryspyV2 interface
rozyczko Mar 24, 2023
763f134
Added minor updates about the current release
rozyczko Mar 27, 2023
c82835b
Merge branch 'release-0.8.5' of https://github.com/easyScience/easyDi…
rozyczko Mar 27, 2023
418777c
Merge pull request #76 from easyScience/release-0.8.5
rozyczko Mar 28, 2023
ca88002
Do not patch the version but take it directly from poetry
rozyczko Mar 28, 2023
effb8d4
minor fixes to force develop branch rebuild and to keep in sync with
rozyczko Mar 30, 2023
3bc9fc5
Minor updates to TOF cif strings
rozyczko Apr 21, 2023
7db6264
fixed cif string parsing
rozyczko Apr 22, 2023
e9213ae
correct ECr branch
rozyczko Apr 22, 2023
1ae04c7
TOF-specific instrument parameters cif reader
rozyczko Apr 24, 2023
582bbd3
Interface getting cryspy info from cif string
rozyczko May 8, 2023
999eafc
Parser moved to the library
rozyczko May 12, 2023
117eaba
Working non-polarized case
rozyczko May 22, 2023
34a851e
project reset fix
rozyczko Jun 7, 2023
f01e792
Convert deg to rad for ttheta
rozyczko Jun 9, 2023
5a7b10d
TOF changes, part 1
rozyczko Jun 9, 2023
e43f3ec
changes for polarized
rozyczko Jun 12, 2023
3d4904a
updated Gr1N/setup-poetry to v8
rozyczko Jun 12, 2023
2ea05e2
fixes for multiphase cases
rozyczko Jun 12, 2023
5ade056
remove unnecessary comment
rozyczko Jun 12, 2023
a2aa83c
streamline tthetas
rozyczko Jun 13, 2023
39b12b2
modify non-pol/pol normalization factor
rozyczko Jun 13, 2023
bdd98f9
updated cryspy source
rozyczko Jun 13, 2023
edd909a
Allow asymmetric peaks parameters in calculations
rozyczko Jun 15, 2023
8eef45d
New PDF notebook from Celine + file reshuffle
rozyczko Jun 16, 2023
0ab8a37
update the model when needed
rozyczko Jun 16, 2023
a464986
Merge pull request #89 from easyScience/asymmetric
rozyczko Jun 16, 2023
2c606bf
use the correct branch of EasyCryst
rozyczko Jun 19, 2023
3821d54
added Si notebook and cleaned up file location
rozyczko Jun 22, 2023
64aa208
Attach aniso ADP to the model
rozyczko Jun 25, 2023
9832a6f
update ADP object only for Ani ADP
rozyczko Jun 26, 2023
22cf0aa
fixed the model update for aniso ADP
rozyczko Jun 28, 2023
5829080
some handling of kwargs
rozyczko Jul 2, 2023
ff63f8e
Added kwargs treatment of excluded regions
rozyczko Jul 3, 2023
960db72
Update final values with the mask
rozyczko Jul 4, 2023
54fd9a9
point to develop for EDL
Jul 11, 2023
acbc471
Merge pull request #86 from easyScience/exp_cif
rozyczko Jul 11, 2023
ed2efe2
updated references to ECr
Jul 11, 2023
f09db10
Merge branch 'develop' into excluded_regions
rozyczko Jul 11, 2023
e3e12fc
Merge pull request #91 from easyScience/excluded_regions
rozyczko Jul 11, 2023
31cf09e
Updated dependency name
Jul 11, 2023
c662282
Merge branch 'develop' into aniso_adp
rozyczko Jul 11, 2023
c7b561e
Merge pull request #92 from easyScience/aniso_adp
rozyczko Jul 11, 2023
bf4d25c
Allow cryspy tof jobs use kwargs
rozyczko Jul 11, 2023
9215a33
point to the fixes branch of ECrys
rozyczko Jul 12, 2023
54788a8
prettify conversion to radians
rozyczko Jul 13, 2023
fb7d406
update dependency
rozyczko Jul 17, 2023
9276b63
Merge pull request #93 from easyScience/july_fixes
rozyczko Jul 17, 2023
c652fae
Merge pull request #94 from easyScience/pdffit_notebooks
rozyczko Oct 6, 2023
217d29f
Updated GH pipelines, based off of develop
rozyczko Apr 11, 2024
411f027
Update dependencies and build system configuration
rozyczko Apr 11, 2024
b84f8b8
cleaned up imports
rozyczko Apr 11, 2024
54b3559
Merge pull request #110 from EasyScience/updated_pipeline_develop
rozyczko Apr 11, 2024
76fcb05
Merge branch 'develop' into new_pdf_tutorial
rozyczko Apr 11, 2024
5b03fe1
added original files
rozyczko Apr 11, 2024
cac42a1
new_job rebased off of current develop
rozyczko Apr 11, 2024
67c1b15
Merge pull request #111 from EasyScience/new_pdf_tutorial
rozyczko Apr 11, 2024
7e4ee46
get the "tests" to pass, fix the new test
rozyczko Apr 11, 2024
b376b79
updated tests
rozyczko Apr 11, 2024
b9e126e
fixed impl
rozyczko Apr 11, 2024
7deb6ae
added conversion tests
rozyczko Apr 11, 2024
feacdff
more Job content
rozyczko Apr 12, 2024
4237df3
added tests for Job.
rozyczko Apr 12, 2024
7b66460
fixed repo name
rozyczko Apr 13, 2024
17cde79
more functionality
rozyczko Apr 15, 2024
6b3be77
can't pass both job_type and experiment
rozyczko Apr 16, 2024
9816470
more implementation.
rozyczko Apr 16, 2024
c79e72f
More functionality and fixes
rozyczko Apr 17, 2024
db74895
start adding calculation elements
rozyczko Apr 18, 2024
77af055
work on datastore
rozyczko Apr 19, 2024
f31879d
fixed ruff
rozyczko Apr 19, 2024
e97317d
fixed job instantiation with job_type argument
rozyczko Apr 22, 2024
f1d3c1c
moved to easyscience + changed module name to easydiffraction
rozyczko Apr 22, 2024
6ed3e7e
ruff
rozyczko Apr 22, 2024
d4e85fe
name-less invocation, direct imports from edl, fixed argument name for
rozyczko Apr 22, 2024
1a064ce
changes after discussion with Andrew
rozyczko Apr 23, 2024
8eb4f21
Merge remote-tracking branch 'origin/new_easyscience' into new_job_dev
rozyczko Apr 25, 2024
3aaf23c
removed vestiges of easyDiffractionLib
rozyczko Apr 25, 2024
8b70f62
Initial work on Sample/Phase support
rozyczko Apr 26, 2024
2d1d7bc
temporarily disable pdffit2
rozyczko Apr 27, 2024
866429a
EXC sample is not deepcopy-able
rozyczko Apr 27, 2024
07adb40
ruff
rozyczko Apr 28, 2024
efe90d8
enable simple profile calculations
rozyczko Apr 29, 2024
f41afe6
minor fixes
rozyczko Apr 29, 2024
f737684
updated a few accessors for phase and sample
rozyczko May 1, 2024
0dc155e
cif parsers for experiment. part 1
rozyczko May 3, 2024
2898ddd
started refactoring out cif parser for the lib
rozyczko May 5, 2024
26ba937
work on cif parser
rozyczko May 6, 2024
a25f928
more cif parsing for experiment
rozyczko May 8, 2024
7da4e63
fixed failing test
rozyczko May 8, 2024
45958d6
allow range-less profile calculation
rozyczko May 14, 2024
bbbea45
be careful when querying datastore
rozyczko May 14, 2024
b4bf78e
added tof parsing.
rozyczko May 15, 2024
5bfc174
more cif related changes
rozyczko May 17, 2024
5cb883f
add tof and polarized
rozyczko May 22, 2024
14b3487
make background great again
rozyczko May 23, 2024
2b7a06a
fixes to background handling
rozyczko May 24, 2024
643845a
working fitting, after wedging in easyCore necessities
rozyczko May 28, 2024
53191f8
minor fixes, more tests
rozyczko May 31, 2024
91a39ae
move fitting, profile and minimizer/calculator logic to Analysis
rozyczko Jun 6, 2024
3512c43
updated notebooks for the new Job structure
rozyczko Jun 11, 2024
0b74136
back to pre-3.11 syntax
rozyczko Jun 11, 2024
1524f23
remove from_pars and defaults for background
rozyczko Jun 13, 2024
627633b
Update fitting notebook
rozyczko Jul 17, 2024
702ec2c
temporarily revert to ruff pre-0.5
rozyczko Jul 17, 2024
907435e
correct way of specifying ruff version for GH
rozyczko Jul 17, 2024
a885d68
new ruff with fixed E721s
rozyczko Jul 17, 2024
c4bc180
moved to theoretical_model
rozyczko Jul 19, 2024
7cda002
updates for the new easyscience module and related crystallography
rozyczko Aug 2, 2024
3864164
Merge branch 'new_job_dev' of https://github.com/EasyScience/EasyDiff…
rozyczko Aug 2, 2024
2397855
ruff
rozyczko Aug 2, 2024
f4ee469
move to global_object
rozyczko Aug 2, 2024
b342afc
case changes
rozyczko Aug 6, 2024
df42225
Merge branch 'new_job_dev' of https://github.com/EasyScience/EasyDiff…
rozyczko Aug 6, 2024
cf920d7
updated dependencies
rozyczko Aug 6, 2024
88ba237
Updated treatment of minimizers
rozyczko Aug 7, 2024
56cff12
Use the new API for minimizers
rozyczko Aug 8, 2024
f88790b
Fixes for multiphase load + updated notebook
rozyczko Aug 9, 2024
d58fc36
adjust default instrumental params
rozyczko Aug 12, 2024
650be8c
Import Lattice and SpaceGroup in __init__.py
AndrewSazonov Sep 16, 2024
3c22d8c
Add add_phase_from_file alias for add_sample_from_file
AndrewSazonov Sep 16, 2024
e6573b1
Rename atom_site to atom_sites, as this is a collection (loop in CIF)
AndrewSazonov Sep 16, 2024
02ea5e7
Remove unnecessary files
AndrewSazonov Sep 16, 2024
7d294a5
Add remove_phase to Job & fix removePhase in cryspy
AndrewSazonov Sep 16, 2024
ff1a02b
Add some examples to test API
AndrewSazonov Sep 16, 2024
d0b301c
merging new_job_dev_tof for the TOF functionality
rozyczko Sep 17, 2024
18437cd
removed cycle counter
rozyczko Sep 17, 2024
2de6dd1
Added TOF notebook. Fixed an issue with calculator
rozyczko Sep 17, 2024
bfdfd23
reparent easyCore dependency to be consistent with other modules
rozyczko Sep 18, 2024
6c8f6b3
fix for incorrect job setup for CW
rozyczko Sep 18, 2024
0b0736b
add manual trigger
rozyczko Sep 19, 2024
f75f30f
cleaned up code, added unit test
rozyczko Sep 23, 2024
a3e0a81
use updated cryspy and allow for sigma2 in gauss profile
rozyczko Sep 24, 2024
e6c7c34
preparations for the EDB merge
rozyczko Sep 24, 2024
9ab5dd3
switch to CW temporarily
rozyczko Sep 24, 2024
b126af0
fixed the staticmethod complaint
rozyczko Sep 24, 2024
af1d1ed
app related fixes
rozyczko Sep 27, 2024
925d114
Added xye TOF example.
rozyczko Oct 4, 2024
7f299f2
Merge branch 'new_job_dev' of https://github.com/EasyScience/EasyDiff…
rozyczko Oct 4, 2024
0c25c5a
cleaned up the notebook
rozyczko Oct 4, 2024
4cfcc2d
Fix bug in Simulation.ipynb
celinedurniak Oct 9, 2024
c19407a
fixed the offset direction for cw
rozyczko Oct 9, 2024
f27eb5d
Merge pull request #123 from EasyScience/fix_simulation_ipynb
rozyczko Oct 9, 2024
6b0f3d1
Fix name of the standard uncertainties data in the Experiment
AndrewSazonov Oct 9, 2024
3ad3f2a
fixed fitting of pattern parameters
rozyczko Oct 10, 2024
350f918
Merge branch 'new_job_dev' of https://github.com/EasyScience/EasyDiff…
rozyczko Oct 10, 2024
ecfc75c
allow for change of units of zero_shift
rozyczko Oct 10, 2024
d477420
moved cif parsers to Experiment and fixed the serialization of job
rozyczko Oct 11, 2024
bbc4ac4
added phase scaling block, fixed ruff
rozyczko Oct 11, 2024
f789458
Disable warning if PdfFit2 is not loaded
AndrewSazonov Oct 14, 2024
d496d48
Disable warning if CrysPy is imported
AndrewSazonov Oct 14, 2024
e4e5674
Extend job with extra functionality
AndrewSazonov Oct 14, 2024
d108e3e
Add Fitting_PD-TOF_Si-SEPD@Argonne example
AndrewSazonov Oct 14, 2024
60cd417
Modify the dependencies and add the `charts` install option
AndrewSazonov Oct 14, 2024
f4e158f
Update Google Colab import section
AndrewSazonov Oct 14, 2024
5bdffed
Remove duplicate
AndrewSazonov Oct 14, 2024
fa9a315
Fix analysis chart color and lines order
AndrewSazonov Oct 14, 2024
e0a7fb2
Add another example Fitting_PD-CW_La0.5Ba0.5CoO3-HRPT@PSI
AndrewSazonov Oct 14, 2024
81d3013
Add another example Fitting_PD-CW_La0.5Ba0.5CoO3-HRPT@PSI
AndrewSazonov Oct 14, 2024
7eca7ec
Update readme
AndrewSazonov Oct 14, 2024
8bee7f2
Fix url
AndrewSazonov Oct 14, 2024
0939768
merge changes from `beta3` branch to unify the branches
rozyczko Oct 14, 2024
f149c02
Merge branch 'new_job_dev' of https://github.com/EasyScience/EasyDiff…
rozyczko Oct 14, 2024
77a4654
satisfy ruff
rozyczko Oct 14, 2024
f286dee
Fix readme
AndrewSazonov Oct 14, 2024
54ff682
Add show_crystal_structure
AndrewSazonov Oct 14, 2024
d2ca1af
new_job_dev fails, temporarily use new_job_dev2
AndrewSazonov Oct 14, 2024
3dab1f0
Play with py3dmol
AndrewSazonov Oct 14, 2024
e34ffb5
Update examples
AndrewSazonov Oct 14, 2024
dc7b0d3
Update notebooks
AndrewSazonov Oct 14, 2024
47c9f41
Add py3Dmol to the list of extra dependencies
AndrewSazonov Oct 14, 2024
5e5ab99
Update notebooks
AndrewSazonov Oct 14, 2024
8245606
don't update the dict when there's nothing to update (lib)
rozyczko Oct 15, 2024
7d5f43c
improved performance of jobs run through the library interface
rozyczko Oct 17, 2024
347284c
remove unneeded assignment
rozyczko Oct 18, 2024
7522a25
Update notebooks
AndrewSazonov Oct 18, 2024
e9dddf5
Merge branch 'new_job_dev' into new_job_dev2
AndrewSazonov Oct 18, 2024
43aa370
add _space_group_IT_coordinate_system_code conversion for v2->v1
rozyczko Oct 18, 2024
2a7970f
Merge branch 'new_job_dev' into new_job_dev2
AndrewSazonov Oct 18, 2024
78ce75f
Extend edToCryspyNamesMap
AndrewSazonov Oct 18, 2024
9967f91
Reorganize the structure of the folder with examples
AndrewSazonov Oct 21, 2024
24e64a3
Use pooch to retrieve files from GitHub
AndrewSazonov Oct 21, 2024
5f25692
Update examples
AndrewSazonov Oct 21, 2024
cd704a2
Fix urls to data
AndrewSazonov Oct 21, 2024
4b75567
Update pyproject
AndrewSazonov Oct 21, 2024
9fb669d
Fix pyproject.toml
AndrewSazonov Oct 21, 2024
b8119aa
Fix Development Status in pyproject
AndrewSazonov Oct 21, 2024
c379c79
Merge branch 'new_job_dev2' into new_job_dev
AndrewSazonov Oct 21, 2024
668ad67
fixed fitting for manually added phase
rozyczko Oct 21, 2024
430a145
Merge branch 'new_job_dev' of https://github.com/EasyScience/EasyDiff…
rozyczko Oct 21, 2024
3c9fd12
Merge pull request #121 from EasyScience/new_job_dev
AndrewSazonov Oct 21, 2024
65e0349
Update the fitting example with a manually created phase
AndrewSazonov Oct 21, 2024
fe5e42e
Update readme to master branch
AndrewSazonov Oct 21, 2024
6bb2c7c
Merge branch 'master' into develop
AndrewSazonov Oct 21, 2024
ff6a65d
Move unsorted examples to a separate folder
AndrewSazonov Oct 21, 2024
9a3a81f
Update examples
AndrewSazonov Oct 21, 2024
402434c
Update examples
AndrewSazonov Oct 21, 2024
d3dcb21
Display free parameters as table. Show chi2 after minimiation.
AndrewSazonov Oct 21, 2024
06ffe8b
fixed ruff complaints
rozyczko Oct 22, 2024
5215043
Fix paths to data in notebooks
AndrewSazonov Oct 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 18 additions & 13 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,36 @@
# This workflows will upload a Python Package using Twine when a release is created
# This workflow will
# - build distribution package, pure python wheel
# - publish produced distribution package to PyPI
#
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Upload Python Package
name: Publish Python Package

on:
push:
branches: [ master ]
tags:
- 'v*'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.8'
- uses: Gr1N/setup-poetry@v7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
poetry update
- name: Build
python-version: '3.9'

- name: Install dependencies and build
run: |
poetry build
pip install -e '.[dev]'
python -m build

- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
102 changes: 102 additions & 0 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# This workflow will for a variety of Python versions
# - install the code base
# - lint the code base
# - test the code base
# - upload the test coverage to codecov
#
# It will also
# - build the package
# - check the package
#
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: CI using pip

# Trigger the workflow on push, pull request and manual trigger
on: [push, pull_request, workflow_call]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Code_Consistency:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
- name: Suggestion to fix issues
if: ${{ failure() }}
run: |
echo "::notice::In project root run 'python.exe -m ruff . --fix' and commit changes to fix issues."
exit 1

Code_Testing:

runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[ci skip]')"

strategy:
max-parallel: 4
matrix:
python-version: ['3.9', '3.10', '3.11']
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- name: Check-out repository
uses: actions/checkout@v4

- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Enable extra repository
shell: bash
run: |
pip config --user set global.extra-index-url https://easyscience.github.io/pypi/
pip config --user set global.trusted-host easyscience.github.io

- name: Install dependencies
run: |
pip install -e '.[dev]'

- name: Test with tox
run: |
pip install tox tox-gh-actions coverage
tox

# - name: Upload coverage
# uses: codecov/codecov-action@v3
# with:
# name: Pytest coverage
# env_vars: OS,PYTHON,GITHUB_ACTIONS,GITHUB_ACTION,GITHUB_REF,GITHUB_REPOSITORY,GITHUB_HEAD_REF,GITHUB_RUN_ID,GITHUB_SHA,COVERAGE_FILE
# env:
# OS: ${{ matrix.os }}
# PYTHON: ${{ matrix.python-version }}

Package_Testing:
# disable this job temporarily
if: false
runs-on: ubuntu-latest
# if: "!contains(github.event.head_commit.message, '[ci skip]')"

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: 3.9

- name: Enable extra repository
shell: bash
run: |
pip config --user set global.extra-index-url https://easyscience.github.io/pypi/
pip config --user set global.trusted-host easyscience.github.io

- name: Install dependencies and build
run: |
pip install -e '.[dev]'
python -m build

- name: Check Build
run: |
cd ./dist
pytest ../
79 changes: 0 additions & 79 deletions .github/workflows/self_publish_alpha.yml

This file was deleted.

65 changes: 0 additions & 65 deletions .github/workflows/unit_test.yml

This file was deleted.

13 changes: 0 additions & 13 deletions CHANGELOG.md

This file was deleted.

Loading